package com.grj.parking.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 车辆黑名单表
 * @TableName blacklist
 */
@TableName(value ="blacklist")
@Data
public class Blacklist implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id")
    private Long tenantId;

    /**
     * 车牌号
     */
    @TableField(value = "license_plate")
    private String licensePlate;

    /**
     * 拉黑原因
     */
    @TableField(value = "reason")
    private String reason;

    /**
     * 拉黑时间
     */
    @TableField(value = "black_time")
    private Date blackTime;

    /**
     * 解除时间
     */
    @TableField(value = "lift_time")
    private Date liftTime;

    /**
     * 状态(0-已解除,1-生效中)
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 操作人
     */
    @TableField(value = "operator")
    private String operator;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}